<template>
  <el-tooltip class="item" popper-class="assignPopper"  :content="$t('public.assign')" placement="bottom">
    <span class="icon-assign" @click="Assign"><i class= "iconfont icon-fenpei" :style="fontSize?'font-size:18px':''"></i></span>
  </el-tooltip>
</template>
<script>
  export default {
    name: 'Assign',
    methods: {
      Assign () {
        this.$emit('assign')
      }
    },
    props: {
      fontSize: String
    }
  }
</script>
<style lang="stylus" scoped>
  @import "../../../assets/common.styl"
  .icon-assign
    flex 1
    cursor pointer
    text-align center
    .iconfont
      color $c-main
  .assignPopper
    background-color pink !important
</style>
